package com.jty.lib_base.room.bean

import androidx.room.ColumnInfo
import androidx.room.Entity
import androidx.room.PrimaryKey


/**
 * author: zhouyh
 * created on: 2022/3/19 9:03 上午
 * description:教研单张图片笔记
 */
@Entity(tableName = "notes")
data class NoteItem(
    @PrimaryKey(autoGenerate = true)
    @ColumnInfo(name = "id") //自增id
    var id: Long?,
    @ColumnInfo(name ="note_id")
    var noteId:String,
    @ColumnInfo(name = "research_id") //教研活动Id
    var researchId: String,
    @ColumnInfo(name = "local_path")//本地图片地址
    var localPath: String,
    @ColumnInfo(name = "server_path")//服务器地址
    var serverPath: String?,
    @ColumnInfo(name = "pageserial") //点阵纸码
    var pageserial: String?,
    @ColumnInfo(name = "way") //笔记方式 0手写笔记 1拍照笔记
    var way: Int,
)
